package com.pactera.madp.cp.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "madp")
public class ConstantConfig {

    private static String apiUrl;

    private static String webUrl;

    public void setApiUrl (String apiUrl) {
        this.apiUrl = apiUrl;
    }

    public static String getApiUrl() {
        return apiUrl;
    }

    public void setWebUrl(String webUrl) {
        this.webUrl = webUrl;
    }

    public static String getWebUrl() {
        return webUrl;
    }
}
